package com.shopping.huaju.commodity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.config.annotation.web.http.EnableSpringHttpSession;

//开启springsession
@EnableSpringHttpSession//开启springsession
@EnableCaching      //开启缓存功能
@SpringBootApplication
@EnableFeignClients(basePackages = "com.shopping.huaju.commodity.feign")
@EnableDiscoveryClient
//@MapperScan(basePackages = {"com.shopping.huaju.commodity.dao"})
public class HuaJuCommodityApplication {
    public static void main(String[] args) {
        SpringApplication.run(HuaJuCommodityApplication.class,args);
    }
}

